$OpenBSD: patch-parse_c,v 1.1 2011/07/03 22:55:26 naddy Exp $
--- parse.c.orig	Mon Feb  5 21:17:19 1990
+++ parse.c	Fri Jun 24 19:09:49 2011
@@ -11,6 +11,7 @@
 static char rcsid[]= "$Header: /home/cvs/ports/textproc/spiff/patches/patch-parse_c,v 1.1 2011/07/03 22:55:26 naddy Exp $";
 #endif
 
+#include <string.h>
 #include "misc.h"
 #include "flagdefs.h"
 #include "float.h"
@@ -68,9 +69,6 @@ static
 _P_in_alpha(chr)
 char chr;
 {
-#ifndef ATT
-	extern int index();
-#endif
 	/*
 	**	special case when string terminator
 	**	is handed to us
@@ -78,11 +76,7 @@ char chr;
 	if ('\0' == chr)
 		return(0);
 
-#ifdef ATT
-	return((int) strchr(_P_alpha,chr));
-#else
-	return((int) index(_P_alpha,chr));
-#endif
+	return(strchr(_P_alpha,chr) != NULL);
 }
 
 void
